/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package toesp.testing;
 
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import toesp.bean.MenuBean;
import toesp.entity.Menu;

/**
 *
 * @author satria.sp
 */
public class MenuTesting {
    public static void main(String[] args) {
        MenuBean mbean = new MenuBean();
        try {
            List<Menu> lstMenu = mbean.getMenuHead();
            for (Menu menu : lstMenu) {
                System.out.println("Data "+menu.getMenuTitle());
            }
        } catch (Exception ex) {
            Logger.getLogger(MenuTesting.class.getName()).log(Level.SEVERE, null, ex);
        }
        
    }
}
